import 'package:fluro/fluro.dart';
import 'package:moose_app/ui/screens/address_add/address_add_screen.dart';
import 'package:moose_app/ui/screens/address_choose/address_choose_screen.dart';
import 'package:moose_app/ui/screens/address_receiving/address_receiving_screen.dart';
import 'package:moose_app/ui/screens/back_choose/back_choose_screen.dart';
import 'package:moose_app/ui/screens/chat/chat_screen.dart';
import 'package:moose_app/ui/screens/detail/author/detail_author_screen.dart';
import 'package:moose_app/ui/screens/detail/record/detail_record_screen.dart';
import 'package:moose_app/ui/screens/guide/guide_screen.dart';
import 'package:moose_app/ui/screens/login/login_screen.dart';
import 'package:moose_app/ui/screens/main/main_screen.dart';
import 'package:moose_app/ui/screens/message/message_screen.dart';
import 'package:moose_app/ui/screens/order/order_screen.dart';
import 'package:moose_app/ui/screens/profile/profile_screen.dart';
import 'package:moose_app/ui/screens/qr_scan/qr_scan_screen.dart';
import 'package:moose_app/ui/screens/qrcode/qrcode_screen.dart';
import 'package:moose_app/ui/screens/register/register_screen.dart';
import 'package:moose_app/ui/screens/scan_login/scan_login_screen.dart';
import 'package:moose_app/ui/screens/search/search_screen.dart';
import 'package:moose_app/ui/screens/setting/setting_screen.dart';
import 'package:moose_app/ui/screens/sign_in/sign_in_screen.dart';
import 'package:moose_app/ui/screens/splash/splash_screen.dart';
import 'package:moose_app/ui/screens/video/video_screen.dart';
import 'package:moose_app/ui/screens/vip_center/vip_center_screen.dart';
import 'package:moose_app/ui/screens/welcome/welcome_screen.dart';

import 'route_handlers.dart';

class ATHRoutes {
  static void configureRoutes(FluroRouter router) {
    router.define(ATHGuideScreen.routeName, handler: guideHandler);

    router.define(ATHWelcomeScreen.routeName, handler: welcomeHandler);

    router.define(ATHSplashScreen.routeName, handler: splashHandler);

    router.define(ATHMainScreen.routeName, handler: mainHandler);

    router.define(ATHLoginScreen.routeName, handler: loginHandler);

    router.define(ATHRegisterScreen.routeName, handler: registerHandler);

    router.define(ATHSearchScreen.routeName, handler: searchHandler);

    router.define(ATHSettingScreen.routeName, handler: settingHandler);

    router.define(ATHProfileScreen.routeName, handler: profileHandler);

    router.define(ATHQrCodeScreen.routeName, handler: qrCodeHandler);

    router.define(ATHQrScanScreen.routeName, handler: qrScanHandler);

    router.define(ATHScanLoginScreen.routeName, handler: qrScanLoginHandler);

    router.define(ATHChatScreen.routeName, handler: chatHandler);

    router.define(ATHOrderScreen.routeName, handler: orderHandler);

    router.define(ATHVipCenterScreen.routeName, handler: vipCenterHandler);

    router.define(ATHSignInScreen.routeName, handler: signInHandler);

    /// detail
    router.define(ATHDetailRecordScreen.routeName,
        handler: detailRecordHandler);

    router.define(ATHDetailAuthorScreen.routeName,
        handler: detailAuthorHandler);

    router.define(ATHBackChooseScreen.routeName, handler: backChooseHandler);

    router.define(ATHAddressReceivingScreen.routeName,
        handler: receivingAddressHandler);

    router.define(ATHAddressAddScreen.routeName, handler: addAddressHandler);

    router.define(ATHAddressChooseScreen.routeName,
        handler: addressChooseHandler);

    router.define(ATHVideoScreen.routeName, handler: videoHandler);

    router.define(ATHMessageScreen.routeName, handler: shopCartHandler);
  }
}
